<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    success:function(result){ //请求成功时执行该函数内容，result即为服务器返回的json对象
        var json = result.lists;
        var result = '';
        $.each(json,function(index){
            var Num = json[index].num;
            var Logo = json[index].logo;
            var Pic = json[index].pic;
            var Time = json[index].createtime;
            var Count = json[index].count;
            var money = json[index].yun;
            var Pay = json[index].pay;
            var t = '';
            if (Pic.length > 0) {
                $.each(Pic,function(i){
                    var Img = Pic[i].img;
                    var Name = Pic[i].name;
                    var Price = Pic[i].price;
                    var Quality = Pic[i].height;
                    var Number = Pic[i].number;
                    t += '<div class="info-material">'+
                        '<div class="pic_one">'+
                        '<img src= '+ Img +'/>'+
                        '<div class="info_one">'+
                        '<span class="name">'+ Name +'</span>'+
                        '<span class="money">¥'+ Price +'</span>'+
                        '</div>'+
                        '<div class="info_two">'+
                        '<span class="height">净含量: '+ Quality +'</span>'+
                        '<span class="count">x'+ Number +'</span>'+
                        '</div>'+
                        '</div>'+
                        ' </div>'
                })
            }

        })
        $('.lists').html(result);
</script>
</body>
</html>